********************************************************
*                                                      *
*         RemoteControl v2.0 for Avermedia             *
*         TVCapture98/TVPhone TV cards                 * 
*                                                      *
*                                                      *
*          by HirsfielD   2000                        *
*                                                      *
********************************************************


__What's this?____________

This is a vcl for Delphi 5 that helps you to create  your own application with
a minimum knowlage of Delphi for the Avermedia TVCapture98/Phone TV Tuner cards 



__How do I install?________

VERY easy, select Component/Install component. On unit file name, search RemoteControl2.pas, 
and click ok, select el RemoteControl2.pas on the new window and click compile. 
At this moment a new bar called HirsfielD will appear with the RemoteControl control.



__How do I use?____________

First you have to initialize with  RemoteControl21.Init,
Then double click the control and put RemoteControl1.Button, This returns an Integer. 
Every button returns a number (Integer), then play with your new toy.
to free it put on OnClose event RemoteControl21.Close


__What is waipc.pas?______

Put this to comunicate with WinAmp


Procedure GetVersion;
procedure AddMp3ToPlayList(mp3ToAdd:string);
Procedure DeletePlayList;
Procedure StartPlay;
Procedure ChangeDir(DirToChangeTo:string);
Function PlayBackStatus : integer;
Function GetOutPutTime( x : integer): Integer;
function JumpToTime(new_song_pos:integer):integer;
Function WritePlaylist : Integer;
Procedure EQ;
Procedure PlayList;
Procedure VolumeUp;
Procedure VolumeDown;
Procedure Forward5;
Procedure Rewind5;


// This ones are the common controls, you have to guess the function

Procedure Button1;
Procedure Button2;
Procedure Button3;
Procedure Button4;
Procedure Button5;
Procedure Button1_Shift;
Procedure Button2_Shift;
Procedure Button3_Shift;
Procedure Button4_Shift;
Procedure Button5_Shift;
Procedure Button1_CTRL;
Procedure Button2_CTRL;
Procedure Button3_CTRL;
Procedure Button4_CTRL;
Procedure Button5_CTRL;
Procedure PrevSong;





This are the numbers you will get:

//---------------------------------------------------

AverMedia (no 98)

TV	FM		Exit
104	168		72

Display	Freeze	Capture	Video
48	40	136	56

1	2	3	Audio
128	64	192	24

4	5	6	FullScreen
32	160	96	240

7	8	9	Loop
224	16	144	200

0	<	>	Mute
80	0	232	8

Color	Preview	Chan+	Vol+
176	112	216	88

AutoSca Enter	Chan-	Vol-
184	152	248	120



//---------------------------------------------------

Avermedia 98

TV	CD		Power
163	162		167

1	2	3	Video
152	144	136	128

4	5	6	Audio
153	145	137	129

7	8	9	FullScreen
154	146	138	130

0	Display	Color	Loop
155	147	139	131

()	<	>	Preview
156	148	140	132

AutoSca	Freeze	Capture	Mute
157	149	141	133

Red	Vol-	Vol+	Yellow
158	150	142	134

Green	Chan-	Chan+	Blue
159	151	143	135


---------------------------------------------------
---------------------------------------------------

Updates and other at  http://www.geocities.com/hirsfield   (http://hirs.cjb.net)

Bugs, comments... (money will be welcome ;o)) hirsfield@wanadoo.es

Sorry about my poor english, but I think it's understable.


This is freeware